#pragma once
#include<string>
#include<mutex>
class HungrySingle
{
public:
	static HungrySingle* getHungryInstance();
	void showLog(std::string msg);


private:
	HungrySingle() {};
	HungrySingle(const HungrySingle&) = delete;
	HungrySingle& operator=(const HungrySingle) = delete;

private:
	static HungrySingle*hungry;
	static std::mutex mtx;
};